package app;

import java.util.ArrayList;

public class List<T> {

    private T a;

    public T getA() {
        return a;
    }
        
    public List(T s) {
        this.a = s;
    }
    public void add(T s) {
      
    }
    
    public void toString(T s) {
        System.out.println(a.toString());
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
            if (getClass() != obj.getClass()) {
            return false;
        }
        final List<T> other = (List<T>) obj;
        if (this.a != other.a && (this.a == null || !this.a.equals(other.a))) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 7;
        return hash;
    }
    
    
}
